Skip to content

internal/dns/readme: refresh stale regex example and terminology#99

Open
a4-a4s1[bot] wants to merge 1 commit into
mainfrom
a4s1/dns-readme-refresh
Open

internal/dns/readme: refresh stale regex example and terminology#99
a4-a4s1[bot] wants to merge 1 commit into
mainfrom
a4s1/dns-readme-refresh

Conversation

@a4-a4s1
Copy link
Copy Markdown

@a4-a4s1 a4-a4s1 Bot commented May 28, 2026

The example CoreDNS regex in internal/dns/readme.md was last updated before two renames: the actor DNS suffix changed from substrate.k8s.io to substrate.ate.dev, and the actor id format changed from UUID to a generic DNS label. The authoritative source (internal/resources/actor.goActorIDRegexPattern + ActorDNSSuffix) and the corefile test (internal/dns/corefile_test.go) both reflect the current shape; only the readme drifted.

Pure documentation change; no code or test changes.

(Drafted by a4-a4s1[bot] from an a4 fleet audit; authored under the bot identity at alex's explicit go-ahead.)

The example regex was last updated before two renames:

  * domain `substrate.k8s.io` → `substrate.ate.dev` (rest of the file
    already uses `.ate.dev`)
  * actor id format `UUID` → generic DNS label
    `[a-z0-9]([-a-z0-9]*[a-z0-9])?`

Authoritative source: `internal/resources/actor.go` (`ActorIDRegexPattern`
+ `ActorDNSSuffix`). `internal/dns/corefile_test.go` already asserts
the correct shape; only the readme drifted.

Pure docs; no behavior change.
@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 28, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants